package co.th.bjc.md.service.interfaces;

import java.io.InputStream;
import java.util.List;

import co.th.bjc.md.dao.BJCDepartment;
import co.th.bjc.md.dao.CustomerData;
import co.th.bjc.md.dao.Hospital;
import co.th.bjc.md.dao.HospitalDepartment;
import co.th.bjc.md.dao.Product;
import co.th.bjc.md.dao.ProductCategory;
import co.th.bjc.md.dao.SalePerson;
import co.th.bjc.md.dao.Supplier;

public interface CustomerDataManageService {
	public List<CustomerData> getCustomerDataList(String type, String department, int minBed, int maxBed, int presidentImpRate, int presidentRpRate, int directorImpRate, int directorRpRate, int limitFrom, int limitTo);
	public CustomerData getEditCustomerData(java.math.BigInteger id);
	public CustomerData getViewCustomerData(java.math.BigInteger id);
	public boolean removeCustomerData(java.math.BigInteger id);
	public boolean addCustomerData(CustomerData customerData);
	public boolean editCustomerData(CustomerData customerData);
	public List<Hospital> getHostpitalList(int regionId);
	public List<HospitalDepartment> getDepartmentList(String hospitalCode);
	public List<BJCDepartment> getBJCDepartment();
	public SalePerson getSalePerson(String name);
	public List<ProductCategory> getProductCategoryList();
	public List<Supplier> getSupplierList(int categoryId);
	public List<Product> getProductList(java.math.BigDecimal supplierCode);
	public Hospital getHospitalDepartmentDetail(String hospitalCode, String departmentCode);
	public InputStream getImgBlob(java.math.BigInteger id);
	public Integer countTotalRecord(String type, String department, int minBed, int maxBed, int presidentImpRate, int presidentRpRate, int directorImpRate, int directorRpRate);
}
